home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
SYMBOL
/
Utilities
/
Diagnostic
/
do-quietly
< prev
Wrap
Lisp/Scheme
|
1998-10-23
|
503b
|
22 lines
do-quietly form
This enables to execute SCOM functions without the message on the Listener.
When you define new functions than use SCOM functions wrap the function
inside do-quietly.
(defun new-function (x)
(diagnostic2 "new-function " x $cr$)
(do-quietly
(symbol-transpose 1 (symbol-retrograde x))))
When the new-function is evaluated it prints on listener new-function (a b c) and then returns the values.
(new-function '(a b c))
prints
new-function (a b c)
returns
--> (d c b)